package com.turnengine.client.global.user.bean;

import com.javabi.codebuilder.generated.IGeneratedBean;
import com.javabi.common.locale.LanguageCountry;

/**
 * The I User.
 */
public interface IUser extends IGeneratedBean, Comparable<IUser> {

	/**
	 * Returns the id.
	 * @return the id.
	 */
	int getId();

	/**
	 * Returns the name.
	 * @return the name.
	 */
	String getName();

	/**
	 * Returns the email.
	 * @return the email.
	 */
	String getEmail();

	/**
	 * Returns the language.
	 * @return the language.
	 */
	LanguageCountry getLanguage();

	/**
	 * Sets the id.
	 * @param id the id to set.
	 */
	void setId(int id);

	/**
	 * Sets the name.
	 * @param name the name to set.
	 */
	void setName(String name);

	/**
	 * Sets the email.
	 * @param email the email to set.
	 */
	void setEmail(String email);

	/**
	 * Sets the language.
	 * @param language the language to set.
	 */
	void setLanguage(LanguageCountry language);
}
